package com.jd.enums;

/**
 * Created by Administrator on 2017/9/21/021.
 */
public enum GoodEnums{
    ADD_SUC(100,"添加成功"),
    ADD_ERROR(101,"添加失败"),
    DEL_SUC(200,"删除成功"),
    DEL_ERROR(201,"删除失败"),
    UPDATE_SUC(300,"修改成功"),
    UPDATE_ERROR(301,"修改失败");

    private Integer code;
    private String msg;

    GoodEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
